feat(web): Add workflow page types for integrated editor views#92
Open
feat(web): Add workflow page types for integrated editor views#92
Conversation
Add agent-as-editor panels, intent dispatch, and shared components for workflow page types on the kurt-simplification branch base. Backend: - parser.py: Add PageConfig, ColumnConfig, SceneConfig, TransitionConfig models with pages parsing in TOML/MD workflows and validation - registry.py: Add find_definition_by_workflow_id(), get_page_config(), get_definition_for_workflow() helpers using DoltDB - routes/pages.py: New route module with page data, edit dispatch, asset manifest endpoints - routes/files.py: Add /api/file/raw endpoint for media file serving - intent_dispatch.py: Intent-to-prompt conversion for agent editing Frontend: - DataTablePanel: Editable spreadsheet with seed data support - ImageViewerPanel: Image viewer with zoom and intent toolbar - MotionCanvasPanel: MC rendered output viewer with transport controls - VideoEditorPanel: Video player with trim/cut and intent dispatch - VideoSequencePanel: Multi-scene composition timeline - IntentToolbar: Shared intent capture (add text, shape, move, resize) - ShapePicker: SVG shape library browser - TextOverlayPopover: Text/font/color input for text intents - useFileWatch: Hook for polling file mtime changes - WorkflowRow: Page buttons with icons for each page type - App.jsx: PAGE_TYPE_TO_COMPONENT mapping and openWorkflowPage callback - styles.css: Complete CSS for all panels using design token system Docs: - CLAUDE.md: Workflow Pages section with architecture, page types, API endpoints, and asset configuration https://claude.ai/code/session_016p3y4FpBYpbKsoABaeG4ft
c29c2cf to
80df0b7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add four new panel types that open from workflow steps in the Workflows
tab: data tables (editable, with seed data re-run support), image
viewer (zoom/rotate/annotate), motion canvas (timeline/playback), and
video editor (trim/cut). Workflow definitions declare pages in YAML/TOML
frontmatter with type, step association, and type-specific config.
Backend: PageConfig/ColumnConfig models in parser, API endpoints for
page data CRUD, registry helpers for page lookup by workflow ID.
Frontend: DataTablePanel, ImageViewerPanel, MotionCanvasPanel,
VideoEditorPanel registered in dockview, wired through WorkflowRow
step nodes with type-specific icons and open-on-click behavior.
https://claude.ai/code/session_016p3y4FpBYpbKsoABaeG4ft